#include <stdio.h>   // 包含 printf 和输入函数的定义
#include <string.h>  // 包含 strlen 的定义

namespace SV_UNBOUND_STRING_INPUT_FUNC {


int main()
{
	char string[256];
	printf("Insert your full address: ");
	gets(string);
	printf("Your address is: %s\n", string);
	return 0;
}


int main()
{
	char string[256];
	printf("Please Enter Your Full Name:");
	_gettws(string);
	printf("Your Full Name Is: %s\n", string);
	return 0;
}


int main()
{
	char string[256];
	printf("Insert your full address: ");
	fgets(string, 256, stdin);
	printf("Your address is: %s\n", string);
	return 0;
}


int main()
{
	char string[256];
	printf("Please Enter Your Full Name:");
	gets_s(string, strlen(string));
	printf("Your Full Name Is: %s\n", string);
	return 0;
}
}